/**
 * 
 */
package cm.dpassyann.speedDating.model.dao.user.mock;

import java.util.List;

import cm.dpassyann.speedDating.exception.SpeedDatingException;
import cm.dpassyann.speedDating.model.bean.address.Address;
import cm.dpassyann.speedDating.model.bean.user.ConnectionParameter;
import cm.dpassyann.speedDating.model.bean.user.User;
import cm.dpassyann.speedDating.model.dao.user.IUserDao;

/**
 * Pour le projet : amour-me-zam-android
 * @author deungoueyann
 * @description cette classe permet d'implémenter en mode bouchon les méthodes CRUD du DAO User
 * @date fait le : 22 nov. 2012
 */
public class UserDaoMock implements IUserDao {

	public List<User> list() {
		return null;
	}

	public User get(Long id) {
		return new User();
	}

	public User connect(String login, String password) throws SpeedDatingException  {
		// TODO Auto-generated method stub
		User user = new User();
		user.setActived(true);
		user.setAddress(new Address());
		user.setBirthday("22/04/1984");
		user.setId(1L);
		user.setParameter(new ConnectionParameter());
		user.setEmail("test@test.cm");
		
		return user;
	}
	
}
